package com.yourenbang.transaction.api.service.pay;

import com.yourenbang.lingyun.constants.enums.ServiceNameConstants;
import com.yourenbang.lingyun.core.message.Result;
import com.yourenbang.transaction.api.model.dto.pay.AddEposMerBountyDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 支付
 */
@FeignClient(value = ServiceNameConstants.SERVICE_TRANSACTION)
@RequestMapping("/service/pay/activate")
public interface PayActivateApiService {

    /**
     * 激活返现关系
     */
    @RequestMapping(value = "add/epos/mer/bounty")
    Result<Void> addEposMerBounty(@RequestBody AddEposMerBountyDTO addEposMerBountyDTO);

}
